﻿Public Class naturezaVO

    Private _id_natureza As Integer
    Private _desc_natureza As String
    Private _denominacao_oficial As String
    Private _tipo_pericia As tipo_periciaVO
    Private _status As Boolean
    Private _pontos_atendimento As Integer
    Private _pontos_laudo As Integer
    Private _deslocamento As Boolean




    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------

    Sub New()

        _id_natureza = Nothing
        _desc_natureza = Nothing
        _denominacao_oficial = Nothing
        _tipo_pericia = Nothing
        _status = Nothing
        _pontos_atendimento = Nothing
        _pontos_laudo = Nothing
        _deslocamento = Nothing

    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_natureza As Integer, _
            ByVal desc_natureza As String, _
            ByVal denominacao_oficial As Boolean, _
            ByVal tipo_pericia As tipo_periciaVO, _
            ByVal status As Boolean, _
            ByVal pontos_atendimento As Integer, _
            ByVal pontos_laudo As Integer, _
            ByVal deslocamento As Boolean)

        _id_natureza = id_natureza
        _desc_natureza = desc_natureza
        _denominacao_oficial = denominacao_oficial
        _tipo_pericia = tipo_pericia
        _status = status
        _pontos_atendimento = pontos_atendimento
        _pontos_laudo = pontos_laudo
        _deslocamento = deslocamento

    End Sub

    Public Property ID_NATUREZA() As Integer
        Get

            Return _id_natureza

        End Get
        Set(ByVal value As Integer)

            _id_natureza = value

        End Set
    End Property

    Public Property DESC_NATUREZA() As String
        Get

            Return _desc_natureza

        End Get
        Set(ByVal value As String)

            _desc_natureza = value

        End Set
    End Property

    Public Property DENOMINACAO_OFICIAL() As String
        Get

            Return _denominacao_oficial

        End Get
        Set(ByVal value As String)

            _denominacao_oficial = value

        End Set
    End Property


    Public Property TIPO_PERICIA() As tipo_periciaVO
        Get

            Return _tipo_pericia

        End Get
        Set(ByVal value As tipo_periciaVO)

            _tipo_pericia = value

        End Set
    End Property

    Public Property STATUS() As Boolean
        Get

            Return _status

        End Get
        Set(ByVal value As Boolean)

            _status = value

        End Set
    End Property


    Public Property PONTOS_ATENDIMENTO() As Integer
        Get

            Return _pontos_atendimento

        End Get
        Set(ByVal value As Integer)

            _pontos_atendimento = value

        End Set
    End Property



    Public Property PONTOS_LAUDO() As Integer
        Get

            Return _pontos_laudo

        End Get
        Set(ByVal value As Integer)

            _pontos_laudo = value

        End Set
    End Property


    Public Property DESLOCAMENTO() As Boolean
        Get

            Return _deslocamento

        End Get
        Set(ByVal value As Boolean)

            _deslocamento = value

        End Set
    End Property

    
End Class
